﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/mainLayout.cshtml";
}
<style type="text/css">
    #register-account {
        width : 550px;
        margin : 10px 0px 0px 90px;
        padding:5px;

    }

    #infoAlert {
        text-align:center;
        font-weight:bold;
        display:none
    }
    #register-account ul {
        list-style:none;    
    }

    #register-account ul li {
        display:block;
        margin:5px 0px;
        height:30px;
    }
    #register-account ul li input {
        width:200px;
    }
    #register-account ul li label {
        width:140px;
        float:left;
    }
    #register-account ul li input,#register-account ul li input{
        float:left;
    }

    #img-capt{
        float:left;
        margin-left:3px;
    }
</style>
<script type="text/javascript">
    $(document).ready(function reLoadCaptcha() {

        $("#img-capt").click(function () {

            $(this).removeAttr("src").attr("src", "/Register/CaptchaImage?timestamp=" + new Date().getTime());
        });

    });
</script>
<div id="register-account">
        <ul>
            <li>
                <label for="">Tên Tài Khoản: </label>
                <input type="text" />
            </li>
            <li>
                <label for="">Mật Khẩu: </label>
                <input type="password" />
            </li>
            <li>
                <label for="">Nhập Lại Mật Khẩu: </label>
                <input type="password" />
            </li>
            <li>
                <label for="">Họ: </label>
                <input type="text" />
            </li>
            <li>
                <label for="">Tên: </label>
                <input type="text" />
            </li>
            <li>
                <label for="">Giới Tính: </label>
                <select>
                    <option value="1">Nam</option>
                    <option value="0">Nữ</option>
                </select>
            </li>
            <li>
                <label for="">Ngày Sinh: </label>
                @Html.Partial("~/Views/Register/dateTime.cshtml")
            </li>
            <li>
                <label>Captcha : </label>
                <input id="captcha" name = "captcha" type="text" /><a href="javascript:void(0);" >
                <img src="/Register/CaptchaImage" height="30" id="img-capt" />
                </a><small>Click vào ảnh để<br/>tải lại mã</small>
            </li>
        </ul>
        <input type="button" value="Đăng Ký" />
</div>